#include "vsession.h"
#include "ui_vsession.h"

VSession::VSession(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::VSession)
{
    ui->setupUi(this);
    ui->splitter->setStretchFactor(0,4);
    ui->splitter->setStretchFactor(1,1);

    // ui->frame_session->setStyleSheet("border:1px solid blue");

    StSocketInfo m_pSocketInfo("127.0.0.1",9009);
    m_pConnect = new CUdp(this);
    ui->widget_vconnect->setConnectionProxy(m_pConnect);
    ui->widget_vreceive->setConnectionProxy(m_pConnect);
    ui->widget_vsend->setConnectionProxy(m_pConnect);
}

VSession::~VSession()
{
    delete ui;
}
